home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / demo100.arc / DEMO.DOC < prev    next >
Encoding:
Text File  |  1985-09-15  |  2.4 KB  |  48 lines

  1.  
  2.                             DEMO DOCUMENTATION
  3.  
  4.   Demo.Com and Makelist.Com are companion programs which will run each other
  5. but are completely stand-alone programs.  They do not stay in memory but
  6. rather make use of Turbo Pascal's "execute(program)" procedure.  This uses
  7. the same runtime system of the original program but substitutes the program
  8. code of the new program for the current one.  It is very important that both
  9. programs be compiled to ".Com" files with exactly the same code and data
  10. segment sizes.  For instance:
  11.  
  12.   In the Options menu of Turbo Pascal one must select Com-file for the mode.
  13. Then a new menu will appear.  At this stage ignore this new menu.  Type Q for
  14. Quit.  The main menu will appear again.  Select Compile.  A ".Com" file will
  15. be created.  Record (I suggest on paper!) the size, in paragraphs, of the
  16. code and data segments shown on the screen.  Then select Work file and load
  17. the other program.  Repeat the above and record code and data segments.
  18. Compare the code segment values for each program and select the largest one.
  19. Do the same for the data segments.  Recompile BOTH programs to ".Com" files
  20. with these segment values, in paragraphs, by using the options menu. Select
  21. cOde to set the code segment and Data to set data segment.
  22.  
  23.   I am including Demo.Com and Makelist.Com as well as the (source code) ".Pas"
  24. files for those who do not have Turbo Pascal (must be version 3.0).  I
  25. suggest that if one is going to do any compiling that they make copies of the
  26. ".Com" files on another disk first or the files will be overwritten.  If they
  27. were not compiled properly then the ".Com" files will not function.
  28.  
  29.   These programs will not work in the Memory compile mode since Turbo Pascal
  30. does not support the "execute(program)" procedure in that mode.  The user must
  31. run them from the DOS prompt as ".Com" files.
  32.  
  33.   It should be noted that these programs run only on the IBM color graphics
  34. adapter or workalikes.  The programs manipulate the hardware directly so no
  35. promises are made for any other type of hardware.  Use at your own risk!
  36.  
  37.   Have fun with these programs and if you find the code or programs useful
  38. a contribution of $10.00 would be appreciated.  Please send to:
  39.  
  40.  
  41.                   Joe Halbleib
  42.                   36229 Magellan Dr.
  43.                   Fremont, CA. 94536
  44.  
  45.  
  46.   Contributors may negotiate for customized versions of these programs for
  47. amounts to be decided at the time of request.
  48.